package com.cc.facotory_method;

import com.cc.entity.User;

public class InstanceFacotry {
    public static User getUserBean() {
        return new User(2,"赵二狗");
    }
    
    public  User getUserInstance() {
        return new User(3,"刘大锤");
    }
}
